(0) Obligation:
JBC Problem based on JBC Program:
Manifest-Version: 1.0
Created-By: 1.6.0_20 (Sun Microsystems Inc.)
Main-Class: ArrayClasses
public class A {
public void method() {
while (true);
}
}
public class ArrayClasses {
public static void main(String[] args) {
Random.args = args;
A[] data = new A[2];
data[0] = new A();
data[1] = new B();
int i = Random.random();
if (i == 1) data[i].method();
}
}
public class B extends A {
public void method() {
return;
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
(1) JBC2FIG (SOUND transformation)
Constructed FIGraph.
(2) Obligation:
FIGraph based on JBC Program:
ArrayClasses.main([Ljava/lang/String;)V: Graph of 119 nodes with 0 SCCs.
(3) FIGtoITRSProof (SOUND transformation)
Transformed FIGraph SCCs to IDPs. Logs:
(4) TRUE